<div class="sp marbt">
            <div class="sp_title">
                <span>sản phẩm Bán chạy</span></div>
            <div class="allpro">  
            <?php 
			$banchay = $ado->SanPham_BanChay(4,0);
			while($row = mysql_fetch_assoc($banchay)){
			?>              
                <div class="viewpro">
                    <div class="imgview">
                    	<a href="detail/<?php echo $row['MaSP_KD']."-".$row['idSP']; ?>.html" title="<?php echo $row['MaSP']?>">
                        	<img src="<?php echo $ado->getImageSizeHoang($row['UrlHinh'],140); ?>" alt="<?php echo $row['MaSP']?>" title="<?php echo $row['MaSP']?>" height="140" width="140">
                         </a>
                    </div>
                    <div class="tit_pro">
                    	<a href="detail/<?php echo $row['MaSP_KD']."-".$row['idSP']; ?>.html" title="<?php echo $row['MaSP']?>"><?php echo $row['MaSP']?></a>
                    </div>
                    <div class="nd_pro">Giá: <span style="color:red"><?php echo number_format($row['Gia']);?></span> VNĐ</div>
                    <div class="xemtiep1">
                    	<a href="detail/<?php echo $row['MaSP_KD']."-".$row['idSP']; ?>.html" title="<?php echo $row['MaSP']?>">Chi tiết</a>
                    	<img src="static/icon_more.gif" alt="" height="7" width="7">
                    </div>
                </div>
            <?php } ?>        
                    
            </div>
        </div>